package com.pt25.base.util;

public class BeanUtil {

    public <T> T deepCopy(T t, Class<T> clazz) {
        return JsonUtil.toBean(JsonUtil.toJson(t), clazz);
    }

}
